<template>
	<view style="height: 100vh;width: 100vw;border: 1px solid;">
		<!-- {{src}} -->
		<!-- <web-view :src="src" :webviewStyles="{height: '100vh',width: '100vw'}" allow></web-view> -->
	
		<iframe :src="src" :style="{height: '100vh',width: '100vw'}" allow></iframe>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				src: ""
			}
		},
		onLoad(options) {
			uni.$u.toast(options.src)
			this.src = options.src;
		},
	}
</script>

<style>
</style>